Publish message
There are lots of devices in IoT. This command can send specific message to a specific IoT device.
Request:
"|4|1|3|topic|message|"
Parameters:
topic
Set the topic to be subscribed. You may refer to the tutorial to get the device topic.
message
Content of the message
Returns:
"|4|1|3|1|\r"
Message sent successfully
"|4|1|3|2|\r"
Fail to send message
Arduino Sample:
softSerial.print("|4|1|3|BJpHJt1VW|hello|\r");